package edu.zcmu.seckill.service.impl;

import edu.zcmu.seckill.entity.ProductPolicy;
import edu.zcmu.seckill.mapper.ProductPolicyMapper;
import edu.zcmu.seckill.service.ProductPolicyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 唐诗
 * @since 2022-03-06
 */
@Service
public class ProductPolicyServiceImpl extends ServiceImpl<ProductPolicyMapper, ProductPolicy> implements ProductPolicyService {

    @Override
    public ProductPolicy getProductPolicyById(Integer id) {
        return baseMapper.selectById(id);
    }
}
